package com.zookpper;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EnableDiscoveryClient //如果注册中心是zookeeper、connsul，使用该注解开启客户端向注册中心注册功能
public class AppZookeeperMember {

    public static void main(String[] args) {
        SpringApplication.run(AppZookeeperMember.class,args);
    }
}
